package test.day12.test20;

class Animal{
    public int m;
    public  Animal(){
       m = 100; 
    }
    public  Animal(int m) {
       this.m = m; 
    } 
}
class Dog extends Animal {
    public  Dog() {
        super(8);   
        m += 10;        }
}
public class E {
   public static void main(String args[]){
      Dog dog = new Dog();
      System.out.println(dog.m); //【代码】
   }
}
